<?php
if(isset($_SESSION['logged']) AND $_SESSION['logged'] == TRUE){
	$_SESSION = array();
	session_destroy();
}

header('Location: index.php');
